package com.dy.design_pattern_study.state_pattern.dome2.impl;

import com.dy.design_pattern_study.state_pattern.dome2.State;
import com.dy.design_pattern_study.state_pattern.dome2.entry.Context;

/**
 * @CreateBy zhangdingyi
 * @Date 2023-04-06
 * @Content
 */
public class ConcreteStateB extends State {
    @Override
    public void handle(Context context) {
        context.setState(new ConcreteStateA());
    }
}
